package com.hxc.interest.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hxc.common.annotation.Excel;
import com.hxc.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 反馈信息对象 t_reaction_info
 * 
 * @author hxc
 * @date 2021-08-17
 */
@ApiModel(value = "反馈信息对象")
public class TReactionInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;
    /** 反馈类型 */
    @Excel(name = "反馈类型")
    @ApiModelProperty(value = "反馈类型(0自己事，1村里事)")
    private Integer reactionType;
    /** 内容类型 */
    @Excel(name = "内容类型")
    private Integer contentType;
    /** 反应内容 */
    @Excel(name = "反应内容")
    @ApiModelProperty(value = "反应内容")
    private String content;
    /** 是否公布 */
    @Excel(name = "是否公布")
    @ApiModelProperty(value = "是否公布(0不公布 1公布)")
    private Integer isPublish;
    /** 响应状态 */
    @Excel(name = "响应状态")
    @ApiModelProperty(value = "响应状态(0已提交，1处理中，2已解决)")
    private Integer reactionState;
    /** 反应地点 */
    @Excel(name = "反应地点")
    @ApiModelProperty(value = "反应地点")
    private String address;
    /** 社区网格id */
    @Excel(name = "社区网格id")
    @ApiModelProperty(value = "反应内容")
    private Long communityId;
    /** 社区组别id */
    @Excel(name = "社区组别id")
    @ApiModelProperty(value = "社区组别id")
    private Long communityGroupId;
    /** 图片地址code */
    @Excel(name = "图片地址code")
    @ApiModelProperty(value = "图片地址")
    private String imgUrl;
    /** 经度 */
    @Excel(name = "经度")
    @ApiModelProperty(value = "经度")
    private String longitude;
    /** 纬度 */
    @Excel(name = "纬度")
    @ApiModelProperty(value = "纬度")
    private String latitude;

    /** ----------------------------------表关联字段----------------------------- */
    /** 用户别称 */
    @TableField(exist = false)
    @ApiModelProperty(value = "用户别称")
    private String nickName;
    /** 用户ID */
    @TableField(exist = false)
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    /** 用户头像 */
    @TableField(exist = false)
    @ApiModelProperty(value = "用户头像")
    private String avatar;
    /** 反馈与用户中间表id */
    @TableField(exist = false)
    private Long reauserId;
    /** 事件发布状态 */
    @TableField(exist = false)
    @ApiModelProperty(value = "事件发布状态")
    private Integer sendType;
    /** 点赞数 */
    @TableField(exist = false)
    @ApiModelProperty(value = "点赞数")
    private Integer greatNum;
    /** 中间表删除标识 */
    @TableField(exist = false)
    private Integer delFlag;
    /** 评论数 */
    @TableField(exist = false)
    @ApiModelProperty(value = "评论数")
    private Integer commentNum;
    /** 转发数 */
    @TableField(exist = false)
    @ApiModelProperty(value = "转发数量")
    private Integer relayNum;
    /** 是否点赞 */
    @TableField(exist = false)
    @ApiModelProperty(value = "是否点赞")
    private Boolean thumbsup = false;
    /** 社区网格名称 */
    @TableField(exist = false)
    @ApiModelProperty(value = "社区网格名称")
    private String communityAreaName;
    /** 网格处理人 */
    @TableField(exist = false)
    @ApiModelProperty(value = "网格处理人")
    private String communityAreaPerson;
    /** 组别处理人 */
    @ApiModelProperty(value = "组别处理人")
    private String groupAreaPerson;
    /** 是否签到(0:未签到，1：已签到) */
    @TableField(exist = false)
    @ApiModelProperty(value = "是否签到(0:未签到，1：已签到) ")
    private Integer signIn;
    /** 村民信息id */
    @TableField(exist = false)
    private Long villagerId;
    /** 反馈事件处理状态 */
    @TableField(exist = false)
    @ApiModelProperty(value = "反馈事件处理状态(0已提交，1处理中，2已解决)")
    private String reactionStateEmus;
    /** 村名姓名 */
    @TableField(exist = false)
    @ApiModelProperty(value = "村名姓名")
    private String villageName;
    /** 图片集合 */
    @TableField(exist = false)
    @ApiModelProperty(value = "图片数组集合")
    private String[] imgList;
    /** 提交时间超出天数 */
    @TableField(exist = false)
    private Long dayNum;

    public void setId(Long id) 
    {
        this.id = id;
    }
    public Long getId() { return id; }

    public void setReactionType(Integer reactionType) 
    {
        this.reactionType = reactionType;
    }
    public Integer getReactionType() 
    {
        return reactionType;
    }

    public void setContentType(Integer contentType) 
    {
        this.contentType = contentType;
    }
    public Integer getContentType() 
    {
        return contentType;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }
    public String getContent() 
    {
        return content;
    }

    public void setIsPublish(Integer isPublish) 
    {
        this.isPublish = isPublish;
    }
    public Integer getIsPublish() 
    {
        return isPublish;
    }

    public void setReactionState(Integer reactionState) { this.reactionState = reactionState; }
    public Integer getReactionState() 
    {
        return reactionState;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }
    public String getAddress() 
    {
        return address;
    }

    public String getImgUrl() {
        return imgUrl;
    }
    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }
    public String getLongitude() 
    {
        return longitude;
    }

    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }
    public String getLatitude() 
    {
        return latitude;
    }

    public String getNickName() { return nickName; }
    public void setNickName(String nickName) { this.nickName = nickName; }

    public Long getUserId() { return userId; }
    public void setUserId(Long userId) { this.userId = userId; }

    public String getAvatar() { return avatar; }
    public void setAvatar(String avatar) { this.avatar = avatar; }

    public Long getReauserId() { return reauserId; }
    public void setReauserId(Long reauserId) { this.reauserId = reauserId; }

    public Integer getSendType() { return sendType; }
    public void setSendType(Integer sendType) { this.sendType = sendType; }

    public Integer getGreatNum() { return greatNum; }
    public void setGreatNum(Integer greatNum) { this.greatNum = greatNum; }

    public Integer getDelFlag() { return delFlag; }
    public void setDelFlag(Integer delFlag) { this.delFlag = delFlag; }

    public Integer getCommentNum() {
        return commentNum;
    }
    public void setCommentNum(Integer commentNum) {
        this.commentNum = commentNum;
    }

    public Integer getRelayNum() {
        return relayNum;
    }
    public void setRelayNum(Integer relayNum) {
        this.relayNum = relayNum;
    }

    public Boolean getThumbsup() {
        return thumbsup;
    }
    public void setThumbsup(Boolean thumbsup) {
        this.thumbsup = thumbsup;
    }

    public Long getCommunityId() {
        return communityId;
    }
    public void setCommunityId(Long communityId) {
        this.communityId = communityId;
    }

    public Long getCommunityGroupId() {
        return communityGroupId;
    }
    public void setCommunityGroupId(Long communityGroupId) {
        this.communityGroupId = communityGroupId;
    }

    public Integer getSignIn() {
        return signIn;
    }

    public void setSignIn(Integer signIn) { this.signIn = signIn; }

    public String getCommunityAreaName() {
        return communityAreaName;
    }
    public void setCommunityAreaName(String communityAreaName) {
        this.communityAreaName = communityAreaName;
    }

    public String getCommunityAreaPerson() {
        return communityAreaPerson;
    }
    public void setCommunityAreaPerson(String communityAreaPerson) {
        this.communityAreaPerson = communityAreaPerson;
    }

    public String getGroupAreaPerson() {
        return groupAreaPerson;
    }
    public void setGroupAreaPerson(String groupAreaPerson) {
        this.groupAreaPerson = groupAreaPerson;
    }

    public Long getVillagerId() { return villagerId; }
    public void setVillagerId(Long villagerId) { this.villagerId = villagerId; }

    public String getReactionStateEmus() {
        return reactionStateEmus;
    }

    public void setReactionStateEmus(String reactionStateEmus) {
        this.reactionStateEmus = reactionStateEmus;
    }

    public String getVillageName() {
        return villageName;
    }

    public void setVillageName(String villageName) {
        this.villageName = villageName;
    }

    public String[] getImgList() { return imgList; }
    public void setImgList(String[] imgList) { this.imgList = imgList; }

    public Long getDayNum() { return dayNum; }
    public void setDayNum(Long dayNum) { this.dayNum = dayNum; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reactionType", getReactionType())
            .append("contentType", getContentType())
            .append("content", getContent())
            .append("isPublish", getIsPublish())
            .append("reactionState", getReactionState())
            .append("address", getAddress())
            .append("imgUrl", getImgUrl())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("createTime", getCreateTime())
            .append("nickName", getNickName())
            .append("userId", getUserId())
            .append("avatar", getAvatar())
            .append("reauserId", getReauserId())
            .append("sendType", getSendType())
            .append("greatNum", getGreatNum())
            .append("delFlag", getDelFlag())
            .append("commentNum", getCommentNum())
            .append("relayNum", getRelayNum())
            .append("communityId", getCommunityId())
            .append("communityGroupId", getCommunityGroupId())
            .append("signIn", getSignIn())
            .append("communityAreaName", getCommunityAreaName())
            .append("communityAreaPerson", getCommunityAreaPerson())
            .append("groupAreaPerson", getGroupAreaPerson())
            .append("villagerId", getVillagerId())
            .append("villageName", getVillageName())
            .append("imgList", getImgList())
            .append("dayNum", getDayNum())
            .toString();
    }
}
